#include "FormImpl.hpp"

#ifdef __REVENG_WINDOWS__
#  include "FormWin32.hpp"
#else
#  error Unsupported platform
#endif

namespace Gui
{
    using namespace RevEng;
    
    FormImpl::FormImpl() : m_pClose(Event::New())
    {
    }
    
    
    FormImpl::~FormImpl()
    {
    }
    
    
    Event* FormImpl::GetCloseEvent() const
    {
        return m_pClose;
    }
    
#ifdef __REVENG_WINDOWS__
	FormImpl* FormImpl::Create()
	{
		return new FormWin32("Form", Size2<int>(400, 300));
	}
#else
#  error Unsupported platform
#endif    
}
